package com.jeequan.jeepay.pay.router;

import com.jeequan.jeepay.core.entity.MchPayPassage;
import com.jeequan.jeepay.core.entity.MchPayRoute;
import com.jeequan.jeepay.pay.model.MchAppConfigContext;
import com.jeequan.jeepay.pay.rqrs.payorder.UnifiedOrderRQ;

import java.util.Map;

/**
 * 路由策略
 * @author wxj
 * 2024/10/24
 */
public interface RouteStrategy {

    MchPayPassage route(MchAppConfigContext mchAppConfigContext, UnifiedOrderRQ bizRQ, MchPayRoute mchPayRoute, Map<String, PassageInfo> channelInfoMap);
}
